using UnityEditor;
using UnityEngine;
[CustomPropertyDrawer(typeof(InspectorNameAttribute))]
public class InspectorNameDrawer : PropertyDrawer
{
    public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
    {
        InspectorNameAttribute Attribute = (InspectorNameAttribute)attribute;
        label.text = Attribute.name;
        EditorGUI.PropertyField(position, property, label);
    }
}
